/**
 * =========================================================================
 *  Copyright 2010 NCS Pte. Ltd. All Rights Reserved
 *
 *  This software is confidential and proprietary to NCS Pte. Ltd. You shall
 *  use this software only in accordance with the terms of the license
 *  agreement you entered into with NCS.  No aspect or part or all of this
 *  software may be reproduced, modified or disclosed without full and
 *  direct written authorisation from NCS.
 *
 *  NCS SUPPLIES THIS SOFTWARE ON AN "AS IS" BASIS. NCS MAKES NO
 *  REPRESENTATIONS OR WARRANTIES, EITHER EXPRESSLY OR IMPLIEDLY, ABOUT THE
 *  SUITABILITY OR NON-INFRINGEMENT OF THE SOFTWARE. NCS SHALL NOT BE LIABLE
 *  FOR ANY LOSSES OR DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING,
 *  MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.
 *
 *  Change Revision
 * -------------------------------------------------------------------------
 *  Version    Remarks
 * =========================================================================
 */
package canglang.scan.user.service;

import canglang.scan.core.base.pagination.PaginatedListHelper;
import canglang.scan.user.model.UserModel;
import canglang.scan.user.to.SearchTO;

/**
 * 
 */
public interface UserManager {
    
    public PaginatedListHelper search(PaginatedListHelper helper,SearchTO searchTO);
    
    public UserModel addUser(UserModel userModel);
    
    public UserModel getUser(String userId);
    
    public UserModel saveUser(UserModel userModel);   
    
    public void deleteUser(String userId);

}
